import {
	ref
} from "vue";

function useMenuButton() {
	// 获取胶囊高度、上外边距
	const menuButtonInfo = getApp().globalData.menuButtonInfo
	const navHeight = ref(menuButtonInfo.height)
	const navTop = ref(menuButtonInfo.top)

	return [navHeight, navTop]
}

export default useMenuButton